<!--编辑部门-->
<div class="modal" id="deptModal" style="display:none;">
	<div class="modal-backdrop" style="height:100%;z-index:8;"></div>
	<div data="check" class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<span class="modal-title ">创建 /编辑类型角色</span>
			</div>
			<form id="editForm">
				<input type="hidden" name="id" id="id"/>
				<input type="hidden" name="fid" id="fid"/>

				<div class="modal-body report-modal" style="padding:15px">
					<table>
						<tr>
							<td>类型/角色名<span class="fcr">*</span></td>
							<td><input type="text" class="role-minput" name="name" id="name"/></td>
						</tr>
						<tr class="tr_parent">
							<td>上级分类</td>
							<td>

								<div class="pass_shen" style="margin-left:0">
									<input type="hidden" name="pid" id="pid">
									<input readonly="readonly" type="text"
										   name="pname" id="pname"
										   class="role-minput pass_on boxes_cu" value="">
									<!---->
									<div class="pass_text Pop_up_box">
										<div class="pass_con">
											<div class="pass_con_title">
												<input id="keyword" type="text" class="pass_search" placeholder="查找部门">
											</div>
											<h1>所有类型</h1>
											<ul id="listDept" class="pass_con_list mt5 ">

											</ul>
											<div class="cl"></div>
										</div>
									</div>
									<!---->
								</div>
							</td>
						</tr>
					</table>

					<div class="cl"></div>
				</div>
				<div class="cl"></div>
				<div class="modal-footer">
					<a class="btn modal-cancel" id="btnCancel" onclick="document.getElementById('deptModal').style.display='none'">取消</a>
					<a class="btn green" id="btnSaveDept" onclick="saveType()">提交</a>
				</div>
				<div class="cl"></div>
			</form>

		</div>
	</div>
</div>

<!--添加角色组-->
<div class="modal" id="tuiduiModel" style="display: none;">
	<div class="modal-backdrop" style="height:100%;z-index:8;"></div>
	<div data="check" class="modal-dialog">
		<a id="HCloseBtn" title="关闭" onclick="document.getElementById('tuiduiModel').style.display='none'" ><span>×</span></a>
		<div class="modal-content">
			<div class="modal-header">
				<span class="modal-title ">添加角色</span>
			</div>
        <div class="tan_k_text_cont left">
            <div class="juese_text_cont_input ">
                <div class="juese_search left">
                    <input id="search_text" type="text" class="juese_ss left"><input type="button" class="juese_but left" onclick="search_user()">
                </div>
                <div class="cl"></div>
                <!--v-->
                <div class="juese_text_c left">
                    <div class="juese_text_left left ">
                        <div class="juese_text_left_title left">
                            <span class="left">人员列表</span> <a class="right" href="javascript:;" data="all_yes" id="all_select_id" onclick="all_select(this,&#39;per_lisr&#39;);">全选</a>
                        </div>

                        <ul id="per_lisr" class="juese_text_left_main" style="width: 208px; overflow-x: hidden; overflow-y: scroll;">
							@foreach($member as $m)
								<li data-uid="{{$m->uid}}" class="uid_{{$m->uid}}"><a href="javascript:;">{{$m->username}}</a><span class="right gouxuan" style="width:160px;"></span></li>
							@endforeach
                        </ul>
                        <div class="cl"></div>
                    </div>
                    <div class="juese_text_right left">
                        <div class="juese_text_right_title left">
                            <span class="left">角色列表</span>

                        </div>
                        <div class="juese_text_right_main left">
                                <div id="tree_list" class="juese_tree left" style="margin-left: 0;">
									<ul class="two_level"></ul>
                                </div>
                        </div>
                    </div>
                </div>
                <div class="cl"></div>
                <!--v-->
                <div class="cl"></div>
                <div class="juese_text_add_bu">
                    <input type="button" id="save" value="保存" class="project_text_add_in_btn">
                </div>
                <div class="cl"></div>
            </div>



            <div class="cl"></div>
        </div>
        <div class="cl"></div>
		</div>
	</div>
</div>
